<script src="${basePath}static/js/lib/date_picker/WdatePicker.js"></script>
<script src="${basePath}static/js/lib/page/page.js"></script>
<script src="${basePath}static/js/gameRecord.js"></script>
<#include "../lottery/template/team_history_template.html">
<div class="account-top mt10">
	<form id="gameRecord-search-form"> 
	   <table style="width: 86%;text-align: center;margin-left: 3%;margin-right: 3%;" >
	   <tr style="height: 30px;">
	   <td> 
		<span class="search-inp">
			<select name="userRelation" style="width: 145px;height: 22px;">
				<option value="1">所有人</option>
				<option value="2">我自己</option>
				<option value="3">直属下线</option>
				<option value="4">所有下线</option>
			</select>
		</span> 
		</td>
		<td> 
		<span class="search-inp">
			<select name="lotteryId"  style="width: 145px;height: 22px;">
				<option value="">全部彩种</option>
				<#list lotteryTypeList as item>
					<option value="${item.id}">${item.lotteryName}</option>
				</#list>
			</select>
		</span>
		</td>
		<td> 
		<span class="search-inp">
			<select name="status" style="width: 145px;height: 22px;">
				<option value="">所有状态</option>
				<option value="1">已派奖</option>
				<option value="2">未中奖</option>
				<option value="3">未开奖</option>
				<option value="4">追号</option>
				<option value="5">撤单</option>
			</select>
		</span>
			</td>
		<td> 
		<span class="search-inp">
			<select name="betsMode" style="width: 145px;height: 22px;">
				<option value="">全部模式</option>
				<option value="2.00">元</option>
				<option value="0.20">角</option>
				<option value="0.02">分</option>
			</select>
		</span>
			</td> 
			<td rowspan="2" valign="middle">
		<a href="javascript:;" class="btn-b btn-lg" id="gameRecord-search">查询</a>
	    </td>
		</tr>
		<tr>
		<td> 
		<span class="search-inp"><input type="text" name="userName" class="int" placeholder="用户名"/></span>
	    </td>
		<td>
		<span class="search-inp"><input type="text" name="betsOrder" class="int"  placeholder="输入单号"/></span>
				</td>
		<td colspan="2">
		<span class="search-inp"><input id="startDate" type="text" readonly name="betsStartTime" onclick="new WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" 
		   class="int"   placeholder="投注开始时间"/>&nbsp;&nbsp;至</span> 
		<span class="search-inp"><input type="text" readonly name="betsEndTime" onclick="new WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" 
		    class="int" 
		    placeholder="投注结束时间"/></span>
		   		</td>
	    </tr>
		</table>
	</form>
</div>

<table id="gameRecord-table" width="100%" class="tab-accuont stripe mt10">
	 <tr>
			<th>订单</th>
            <th>用户</th>
			<th>投注时间</th>
			<th>彩种</th>
			<th>玩法</th>
			<th>期号</th>
			<th>倍数(模式)</th>
			<th>金额(元)</th>
			<th>奖金(元)</th>
			<th>状态</th>
	</tr>
	<tbody id="gameRecord-data">
	
	</tbody>
</table>
<div class="mod_pager pagination mt10" id="page_nav"></div>